inherited fmPiInfo: TfmPiInfo
  Caption = #38144#21806#35746#21333
  ClientHeight = 734
  ClientWidth = 1040
  ExplicitWidth = 1048
  ExplicitHeight = 761
  PixelsPerInch = 96
  TextHeight = 13
  inherited lcMain: TdxLayoutControl
    Width = 840
    Height = 688
    ExplicitWidth = 840
    ExplicitHeight = 688
    inherited lblCreateDate: TRzDBLabel
      Left = 734
      Top = 567
      DataField = 'dp_createdate'
      DataSource = dsBase
      ExplicitLeft = 734
      ExplicitTop = 567
    end
    inherited lblCreateStaff: TRzDBLabel
      Left = 734
      Top = 547
      DataField = 'dp_createstaff'
      DataSource = dsBase
      ExplicitLeft = 734
      ExplicitTop = 547
    end
    inherited lblModifyDate: TRzDBLabel
      Left = 598
      Top = 567
      DataField = 'dp_modifydate'
      ExplicitLeft = 598
      ExplicitTop = 567
    end
    inherited lblModifyStaff: TRzDBLabel
      Left = 598
      Top = 547
      DataField = 'dp_modifystaff'
      ExplicitLeft = 598
      ExplicitTop = 547
    end
    object RzDBLabel1: TRzDBLabel [4]
      Left = 326
      Top = 547
      Width = 80
      Height = 17
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dp_checkstaff'
      DataSource = dsBase
    end
    object RzDBLabel2: TRzDBLabel [5]
      Left = 462
      Top = 567
      Width = 80
      Height = 17
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dp_state'
      DataSource = dsBase
    end
    object RzDBLabel3: TRzDBLabel [6]
      Left = 326
      Top = 567
      Width = 80
      Height = 17
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dp_checkdate'
      DataSource = dsBase
    end
    object RzDBLabel4: TRzDBLabel [7]
      Left = 462
      Top = 547
      Width = 80
      Height = 17
      Color = clWindow
      ParentColor = False
      BorderOuter = fsFlat
      BorderSides = [sdBottom]
      BorderHighlight = clWhite
      BorderShadow = 9280933
      FlatColor = 5607865
      FlatColorAdjustment = 0
      DataField = 'dp_checkstate'
      DataSource = dsBase
    end
    object cxDBTextEdit7: TRzDBEdit [8]
      Left = 78
      Top = 100
      Width = 122
      Height = 21
      DataSource = dsBase
      DataField = 'dp_cfax'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 3
    end
    object cbxStaff: TRzDBComboBox [9]
      Left = 276
      Top = 52
      Width = 60
      Height = 21
      DataField = 'dp_staff'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 9
    end
    object cbxPriceTerm: TRzDBComboBox [10]
      Left = 276
      Top = 100
      Width = 122
      Height = 21
      DataField = 'dp_priceterm'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 12
      OnDropDown = cbxPriceTermDropDown
    end
    object cxDBTextEdit11: TRzDBEdit [11]
      Left = 474
      Top = 76
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dp_deliarea'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 18
      OnKeyDown = EditKeyDown
    end
    object cbxCarryMode: TRzDBComboBox [12]
      Left = 682
      Top = 100
      Width = 120
      Height = 21
      DataField = 'dp_shipway'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 25
      OnDropDown = cbxCarryModeDropDown
    end
    object cbxCurrency: TRzDBComboBox [13]
      Left = 474
      Top = 52
      Width = 60
      Height = 21
      DataField = 'dp_mcode'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 16
      OnChange = cbxCurrencyPropertiesChange
      OnDropDown = cbxCurrencyDropDown
    end
    object cxDBMemo1: TRzDBMemo [14]
      Left = 78
      Top = 172
      Width = 122
      Height = 21
      DataField = 'dp_remark'
      DataSource = dsBase
      TabOrder = 7
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBTextEdit18: TRzDBEdit [15]
      Left = 537
      Top = 52
      Width = 57
      Height = 21
      DataSource = dsBase
      DataField = 'dp_rate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 17
    end
    object cxDBTextEdit20: TRzDBEdit [16]
      Left = 274
      Top = 514
      Width = 120
      Height = 21
      DataSource = dsPrePay
      DataField = 'dpp_prepaypayment'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 33
    end
    object cbxPrepayStaff: TRzDBComboBox [17]
      Left = 274
      Top = 490
      Width = 120
      Height = 21
      DataField = 'dpp_prepaystaff'
      DataSource = dsPrePay
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 32
      OnChange = cbxPrepayStaffPropertiesChange
      OnDropDown = cbxPrepayStaffDropDown
    end
    object cbxPrepaybank: TRzDBComboBox [18]
      Left = 470
      Top = 514
      Width = 60
      Height = 21
      DataField = 'dpp_prepaybankno'
      DataSource = dsPrePay
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 35
      OnChange = cbxPrepaybankChange
      OnDropDown = cbxPrepaybankPropertiesInitPopup
    end
    object cxDBMemo2: TRzDBMemo [19]
      Left = 642
      Top = 490
      Width = 120
      Height = 21
      DataField = 'dpp_prepayremark'
      DataSource = dsPrePay
      TabOrder = 37
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cxDBTextEdit23: TRzDBEdit [20]
      Left = 78
      Top = 52
      Width = 122
      Height = 21
      DataSource = dsBase
      DataField = 'dp_productname'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 1
    end
    object edtQuotation: TRzDBEdit [21]
      Left = 682
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dp_qno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 22
      OnDblClick = edtQuotationDblClick
    end
    object cbxCompany: TRzDBComboBox [22]
      Left = 78
      Top = 28
      Width = 122
      Height = 21
      DataField = 'dp_osimpname'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 0
    end
    object cxDBDateEdit3: TRzDBDateTimeEdit [23]
      Left = 276
      Top = 76
      Width = 122
      Height = 21
      DataSource = dsBase
      DataField = 'dp_date'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 11
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBDateEdit2: TRzDBDateTimeEdit [24]
      Left = 78
      Top = 490
      Width = 120
      Height = 21
      DataSource = dsPrePay
      DataField = 'dpp_prepaydate'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 29
      EditType = etDate
      FlatButtonColor = 9229030
      FlatButtons = True
    end
    object cxDBTextEdit2: TRzDBEdit [25]
      Left = 533
      Top = 514
      Width = 57
      Height = 21
      DataSource = dsPrePay
      DataField = 'dpp_prepaybank'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 36
    end
    object cxDBTextEdit3: TRzDBEdit [26]
      Left = 470
      Top = 490
      Width = 120
      Height = 21
      DataSource = dsPrePay
      DataField = 'dpp_prepaybankaccount'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 34
    end
    object edtPino: TRzDBEdit [27]
      Left = 276
      Top = 28
      Width = 122
      Height = 21
      DataSource = dsBase
      DataField = 'dp_no'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 8
      OnDblClick = edtPinoDblClick
    end
    object cxDBTextEdit6: TRzDBEdit [28]
      Left = 78
      Top = 76
      Width = 122
      Height = 21
      DataSource = dsBase
      DataField = 'dp_ccontact'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 2
      OnKeyDown = EditKeyDown
    end
    object RzDBMemo1: TRzDBMemo [29]
      Left = 474
      Top = 100
      Width = 120
      Height = 21
      DataField = 'dp_paymentmode'
      DataSource = dsBase
      TabOrder = 19
      OnEnter = MemoEnter
      OnExit = MemoExit
      OnKeyDown = EditKeyDown
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object RzDBMemo2: TRzDBMemo [30]
      Left = 682
      Top = 76
      Width = 120
      Height = 21
      DataField = 'dp_delidate'
      DataSource = dsBase
      TabOrder = 24
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object edtCustomer: TRzDBEdit [31]
      Left = 474
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dp_csimpname'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 15
      OnDblClick = edtCustomerDblClick
    end
    inherited pcDetails: TcxPageControl
      Top = 230
      Width = 805
      TabOrder = 28
      ExplicitTop = 230
      ExplicitWidth = 805
      ClientRectRight = 805
      inherited cxTabSheet1: TcxTabSheet
        ExplicitWidth = 805
        ExplicitHeight = 223
        inherited grdDetails: TcxGrid
          Width = 805
          RootLevelOptions.DetailTabsPosition = dtpTop
          ExplicitWidth = 805
          inherited tvDetails: TcxGridDBBandedTableView
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                Column = tvDetailsColumn1
              end
              item
                Kind = skSum
                Column = tvDetailsGwAmt
              end
              item
                Kind = skSum
                Column = tvDetailsAmt
              end
              item
                Kind = skSum
                Column = cgzje
              end
              item
                Kind = skSum
              end
              item
                Kind = skSum
                Column = zrmb
              end
              item
                Kind = skSum
                Column = tvDetailsOutqty
              end
              item
                Kind = skSum
                Column = tvDetailsOtherFee
              end
              item
                Kind = skSum
                Column = tvDetailsYongjin
              end
              item
                Kind = skSum
                Column = tvDetailsBaoFei
              end
              item
                Kind = skSum
                Column = tvDetailsYunFei
              end
              item
                Kind = skSum
                Column = tvDetailsQty
              end
              item
                Kind = skSum
                Column = lr
              end
              item
                Kind = skAverage
                Column = lrl
              end
              item
                Kind = skCount
                Column = tvDetailsColumn2
              end>
            object tvDetailsColumn1: TcxGridDBBandedColumn [0]
              Caption = '#'
              DataBinding.FieldName = 'dpi_serial'
              Visible = False
              Options.Filtering = False
              Width = 31
              Position.BandIndex = 0
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn2: TcxGridDBBandedColumn [1]
              Caption = #20869#37096#32534#21495
              DataBinding.FieldName = 'dpi_productno'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                  Kind = bkEllipsis
                end>
              Properties.OnButtonClick = tvDetailsColumn2PropertiesButtonClick
              Options.Sorting = False
              Width = 120
              Position.BandIndex = 0
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsColumn4: TcxGridDBBandedColumn [2]
              Caption = #33521#25991#21697#21517
              DataBinding.FieldName = 'dpi_enname'
              Options.Sorting = False
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object tvDetailsColumn5: TcxGridDBBandedColumn [3]
              Caption = 'HS'#32534#30721
              DataBinding.FieldName = 'dpi_hscode'
              Options.Sorting = False
              Position.BandIndex = 1
              Position.ColIndex = 27
              Position.RowIndex = 0
            end
            object tvDetailsColumn7: TcxGridDBBandedColumn [4]
              Caption = #20013#25991#21697#21517
              DataBinding.FieldName = 'dpi_chname'
              Options.Sorting = False
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsColumn17: TcxGridDBBandedColumn [5]
              Caption = #24037#21378
              DataBinding.FieldName = 'dpi_fsimpname'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                  Kind = bkEllipsis
                end>
              Properties.OnButtonClick = tvDetailsColumn17PropertiesButtonClick
              Options.Sorting = False
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsGw: TcxGridDBBandedColumn [6]
              Caption = #27611#37325
              DataBinding.FieldName = 'dpi_gw'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Width = 54
              Position.BandIndex = 1
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
            object tvDetailsGwAmt: TcxGridDBBandedColumn [7]
              Caption = #27611#37325#23567#35745
              DataBinding.FieldName = 'dpi_gwamt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Width = 67
              Position.BandIndex = 1
              Position.ColIndex = 7
              Position.RowIndex = 0
            end
            object tvDetailsColumn11: TcxGridDBBandedColumn [8]
              Caption = #22806#38144#24065#21035
              DataBinding.FieldName = 'dpi_currency'
              Visible = False
              Position.BandIndex = 1
              Position.ColIndex = 10
              Position.RowIndex = 0
            end
            object tvDetailsColumn12: TcxGridDBBandedColumn [9]
              Caption = #22806#38144#27719#29575
              DataBinding.FieldName = 'dpi_currrate'
              Visible = False
              Position.BandIndex = 1
              Position.ColIndex = 11
              Position.RowIndex = 0
            end
            object tvDetailsSellPrice: TcxGridDBBandedColumn [10]
              Caption = #38144#21806#21333#20215
              DataBinding.FieldName = 'dpi_sellprice'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Position.BandIndex = 1
              Position.ColIndex = 8
              Position.RowIndex = 0
            end
            object tvDetailsColumn14: TcxGridDBBandedColumn [11]
              Caption = #37319#36141#24065#21035
              DataBinding.FieldName = 'dpi_buycurrency'
              Visible = False
              Width = 75
              Position.BandIndex = 1
              Position.ColIndex = 17
              Position.RowIndex = 0
            end
            object tvDetailsColumn15: TcxGridDBBandedColumn [12]
              Caption = #37319#36141#27719#29575
              DataBinding.FieldName = 'dpi_buycurrrate'
              Visible = False
              Position.BandIndex = 1
              Position.ColIndex = 18
              Position.RowIndex = 0
            end
            object cgdj: TcxGridDBBandedColumn [13]
              Caption = #37319#36141#20215#26684
              DataBinding.FieldName = 'dpi_buyprice'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Position.BandIndex = 1
              Position.ColIndex = 16
              Position.RowIndex = 0
            end
            object tvDetailsColumnUnit: TcxGridDBBandedColumn [14]
              Caption = #21333#20301
              DataBinding.FieldName = 'dpi_unit'
              PropertiesClassName = 'TcxComboBoxProperties'
              Properties.DropDownListStyle = lsFixedList
              Options.Sorting = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsAmt: TcxGridDBBandedColumn [15]
              Caption = #38144#21806#37329#39069
              DataBinding.FieldName = 'dpi_sellamt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Position.BandIndex = 1
              Position.ColIndex = 12
              Position.RowIndex = 0
            end
            object zrmb: TcxGridDBBandedColumn [16]
              Caption = #37319#36141#37329#39069#25240'RMB'
              DataBinding.FieldName = 'dpi_buyamtrmb'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Width = 90
              Position.BandIndex = 1
              Position.ColIndex = 20
              Position.RowIndex = 0
            end
            object cgzje: TcxGridDBBandedColumn [17]
              Caption = #37319#36141#37329#39069
              DataBinding.FieldName = 'dpi_buyamt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Position.BandIndex = 1
              Position.ColIndex = 19
              Position.RowIndex = 0
            end
            object tvDetailsYunFei: TcxGridDBBandedColumn [18]
              Caption = #36816#36153
              DataBinding.FieldName = 'dpi_carriage'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 23
              Position.RowIndex = 0
            end
            object tvDetailsBaoFei: TcxGridDBBandedColumn [19]
              Caption = #20851#31246
              DataBinding.FieldName = 'dpi_tariff'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 24
              Position.RowIndex = 0
            end
            object tvDetailsYongjin: TcxGridDBBandedColumn [20]
              Caption = #22686#20540#31246
              DataBinding.FieldName = 'dpi_valueaddtax'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 25
              Position.RowIndex = 0
            end
            object tvDetailsOtherFee: TcxGridDBBandedColumn [21]
              Caption = #20854#20182#36153
              DataBinding.FieldName = 'dpi_otherfee'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Width = 60
              Position.BandIndex = 1
              Position.ColIndex = 26
              Position.RowIndex = 0
            end
            object tvDetailsColumn28: TcxGridDBBandedColumn [22]
              Caption = 'fob'#21333#20215
              DataBinding.FieldName = 'dpi_fobprice'
              Visible = False
              Position.BandIndex = 1
              Position.ColIndex = 9
              Position.RowIndex = 0
            end
            object tvDetailsOutqty: TcxGridDBBandedColumn [23]
              Caption = #24050#20986#36135#37327
              DataBinding.FieldName = 'dpi_outqty'
              Options.Editing = False
              Options.Sorting = False
              Position.BandIndex = 1
              Position.ColIndex = 5
              Position.RowIndex = 0
            end
            object tvDetailsColumn30: TcxGridDBBandedColumn [24]
              Caption = #22791#27880
              DataBinding.FieldName = 'dpi_remark'
              Options.Sorting = False
              Width = 117
              Position.BandIndex = 1
              Position.ColIndex = 28
              Position.RowIndex = 0
            end
            object tvDetailsQty: TcxGridDBBandedColumn [25]
              Caption = #25968#37327
              DataBinding.FieldName = 'dpi_qty'
              Options.Sorting = False
              Width = 70
              Position.BandIndex = 1
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            inherited tvDetailsColumnLast: TcxGridDBBandedColumn
              Position.BandIndex = 1
              Position.ColIndex = 29
              Position.RowIndex = 0
              IsCaptionAssigned = True
            end
            object tvDetailsColumn32: TcxGridDBBandedColumn [27]
              Caption = #20135#21697#22411#21495
              DataBinding.FieldName = 'dpi_productrealno'
              Options.Sorting = False
              Width = 77
              Position.BandIndex = 0
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object lr: TcxGridDBBandedColumn [28]
              Caption = #21033#28070
              DataBinding.FieldName = 'dpi_profit'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Editing = False
              Options.Sorting = False
              Width = 70
              Position.BandIndex = 1
              Position.ColIndex = 21
              Position.RowIndex = 0
            end
            object lrl: TcxGridDBBandedColumn [29]
              Caption = #21033#28070#29575'(%)'
              DataBinding.FieldName = 'dpi_profitrate'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Sorting = False
              Width = 70
              Position.BandIndex = 1
              Position.ColIndex = 22
              Position.RowIndex = 0
            end
            inherited tvDetailsOrder: TcxGridDBBandedColumn
              Position.ColIndex = 5
            end
            object tvDetailsColumn9: TcxGridDBBandedColumn
              Caption = #20135#21697#21517
              DataBinding.FieldName = 'dpi_simpname'
              Options.Editing = False
              Options.Sorting = False
              Width = 100
              Position.BandIndex = 0
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
            object tvDetailsColumn6: TcxGridDBBandedColumn
              Caption = #37319#36141#24065#21035
              DataBinding.FieldName = 'dpi_buymcode'
              Position.BandIndex = 1
              Position.ColIndex = 14
              Position.RowIndex = 0
            end
            object tvDetailsSellAmtRmb: TcxGridDBBandedColumn
              Caption = #38144#21806#37329#39069#25240'RMB'
              DataBinding.FieldName = 'dpi_sellamtrmb'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Width = 90
              Position.BandIndex = 1
              Position.ColIndex = 13
              Position.RowIndex = 0
            end
            object tvDetailsColumn10: TcxGridDBBandedColumn
              Caption = #37319#36141#27719#29575
              DataBinding.FieldName = 'dpi_buyrate'
              Position.BandIndex = 1
              Position.ColIndex = 15
              Position.RowIndex = 0
            end
            object tvDetailsColumn3: TcxGridDBBandedColumn
              Caption = #22411#21495#25551#36848
              DataBinding.FieldName = 'dpi_desc'
              Width = 120
              Position.BandIndex = 1
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn8: TcxGridDBBandedColumn
              Caption = '...'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Caption = #26597#30475
                  Default = True
                  Kind = bkText
                end>
              Properties.ViewStyle = vsButtonsOnly
              Properties.OnButtonClick = tvDetailsColumn8PropertiesButtonClick
              HeaderAlignmentHorz = taCenter
              Width = 40
              Position.BandIndex = 0
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
          end
          object tvDetails2: TcxGridDBTableView [1]
            OnKeyDown = tvDetails2KeyDown
            Navigator.Buttons.CustomButtons = <>
            Navigator.Buttons.PriorPage.Visible = False
            Navigator.Buttons.NextPage.Visible = False
            Navigator.Buttons.Edit.Visible = True
            Navigator.Buttons.Refresh.Visible = False
            Navigator.Buttons.SaveBookmark.Visible = False
            Navigator.Buttons.GotoBookmark.Visible = False
            Navigator.Buttons.Filter.Visible = False
            Navigator.Visible = True
            DataController.DataSource = dsDetails2
            DataController.Summary.DefaultGroupSummaryItems = <>
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                Column = tvDetails2FollowState
              end>
            DataController.Summary.SummaryGroups = <>
            OptionsView.NavigatorOffset = 0
            OptionsView.Footer = True
            OptionsView.GroupByBox = False
            OptionsView.Indicator = True
            OptionsView.IndicatorWidth = 30
            object tvDetails2FollowState: TcxGridDBColumn
              Caption = #36319#36394#29366#24577
              DataBinding.FieldName = 'dps_state'
              Width = 240
            end
            object tvDetails2Date: TcxGridDBColumn
              Caption = #26102#38388
              DataBinding.FieldName = 'dps_date'
              Width = 80
            end
            object tvDetails2Column2: TcxGridDBColumn
              Caption = #25805#20316#20154
              DataBinding.FieldName = 'dps_staff'
              Width = 70
            end
            object tvDetails2Column3: TcxGridDBColumn
              Caption = #22791#27880
              DataBinding.FieldName = 'dps_remark'
              Width = 240
            end
            object tvDetails2Column1: TcxGridDBColumn
              Caption = #38468#20214#21517
              DataBinding.FieldName = 'dps_filename'
              Options.Editing = False
              Width = 120
            end
            object tvDetails2Column4: TcxGridDBColumn
              Caption = #38468#20214#25805#20316
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Caption = #28155#21152
                  Default = True
                  Kind = bkText
                end
                item
                  Caption = #21024#38500
                  Kind = bkText
                end
                item
                  Caption = #21478#23384#20026
                  Kind = bkText
                end
                item
                  Caption = #26597#30475
                  Kind = bkText
                end>
              Properties.ViewStyle = vsButtonsOnly
              Properties.OnButtonClick = tvDetails2Column4PropertiesButtonClick
              Options.ShowEditButtons = isebAlways
              Width = 160
            end
            object tvDetails2Last: TcxGridDBColumn
            end
          end
          inherited lvDetails: TcxGridLevel
            Caption = #35746#21333#26126#32454
          end
          object lvDetails2: TcxGridLevel
            Caption = #35746#21333#36319#36394#20449#24687
            GridView = tvDetails2
          end
        end
      end
    end
    object edtProject: TRzDBEdit [33]
      Left = 276
      Top = 124
      Width = 122
      Height = 21
      DataSource = dsBase
      DataField = 'dp_projectno'
      ReadOnly = True
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 13
      OnDblClick = edtProjectDblClick
    end
    object RzDBEdit2: TRzDBEdit [34]
      Left = 276
      Top = 148
      Width = 122
      Height = 21
      DataSource = dsBase
      DataField = 'dp_productcountry'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 14
    end
    object cbxPiClass: TRzDBComboBox [35]
      Left = 682
      Top = 52
      Width = 120
      Height = 21
      DataField = 'dp_type'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 23
      Items.Strings = (
        #19977#26041#36152#26131
        #20323#37329#36152#26131)
      Values.Strings = (
        #19977#26041#36152#26131
        #20323#37329#36152#26131)
    end
    object RzDBNumericEdit1: TRzDBNumericEdit [36]
      Left = 78
      Top = 124
      Width = 60
      Height = 21
      DataSource = dsBase
      DataField = 'dp_commisionrate'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 4
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBNumericEdit2: TRzDBNumericEdit [37]
      Left = 141
      Top = 124
      Width = 59
      Height = 21
      DataSource = dsBase
      DataField = 'dp_commision'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 5
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBNumericEdit3: TRzDBNumericEdit [38]
      Left = 474
      Top = 124
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dp_amt'
      ReadOnly = True
      Alignment = taLeftJustify
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 20
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBNumericEdit4: TRzDBNumericEdit [39]
      Left = 682
      Top = 124
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dp_totalqty'
      ReadOnly = True
      Alignment = taLeftJustify
      Color = clInfoBk
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 26
      DisplayFormat = ',0;(,0)'
    end
    object RzDBNumericEdit5: TRzDBNumericEdit [40]
      Left = 78
      Top = 514
      Width = 60
      Height = 21
      DataSource = dsPrePay
      DataField = 'dpp_amtrate'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 30
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBNumericEdit6: TRzDBNumericEdit [41]
      Left = 141
      Top = 514
      Width = 57
      Height = 21
      DataSource = dsPrePay
      DataField = 'dpp_prepaypreamt'
      Alignment = taLeftJustify
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 31
      IntegersOnly = False
      DisplayFormat = ',0.00;(,0.00)'
    end
    object RzDBEdit1: TRzDBEdit [42]
      Left = 78
      Top = 148
      Width = 122
      Height = 21
      DataSource = dsBase
      DataField = 'dp_batchno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 6
    end
    object RzDBEdit3: TRzDBEdit [43]
      Left = 474
      Top = 148
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dp_refno'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 21
    end
    object RzDBEdit4: TRzDBEdit [44]
      Left = 682
      Top = 148
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'dp_cpino'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 27
    end
    object cbxDepartment: TRzDBComboBox [45]
      Left = 339
      Top = 52
      Width = 57
      Height = 21
      DataField = 'dp_department'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 10
    end
    inherited lcgRoot: TdxLayoutGroup
      Index = -1
    end
    inherited lcgBaseInfoNormal: TdxLayoutGroup
      Index = 0
    end
    inherited lcgBaseInfoLeft: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 0
    end
    inherited lcgBaseInfoMiddle: TdxLayoutGroup
      CaptionOptions.Text = 'asdfasdfasdfasdfasdf'
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 1
    end
    inherited lcgBaseInfoRight: TdxLayoutGroup
      CaptionOptions.Text = 'asdfasdfasdfasdfasdfasdf'
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 2
    end
    inherited lcgBaseInfoLast: TdxLayoutGroup
      Index = 3
    end
    inherited lcgDetails: TdxLayoutGroup
      Index = 1
    end
    inherited lcpcDetails: TdxLayoutItem
      Index = 0
    end
    inherited lcgArchive: TdxLayoutGroup
      Index = 3
    end
    inherited lcArchive2: TdxLayoutGroup
      Index = 2
    end
    inherited lcitemModifyStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemModifyDate: TdxLayoutItem
      Index = 1
    end
    inherited lcgArchive1: TdxLayoutGroup
      Index = 3
    end
    inherited lcitemCreateStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemCreateDate: TdxLayoutItem
      Index = 1
    end
    object lcMainItem3: TdxLayoutItem
      CaptionOptions.Text = #20844#21496
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoLeft
      Control = cbxCompany
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem33: TdxLayoutItem
      CaptionOptions.Text = #35746#21333#25688#35201
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit23
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem6: TdxLayoutItem
      CaptionOptions.Text = #32852#31995#20154
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit6
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem6CaptionClick
      Index = 2
    end
    object lcMainItem7: TdxLayoutItem
      CaptionOptions.Text = #20256#30495
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit7
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainGroup7: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      Parent = lcgBaseInfoLeft
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 4
    end
    object lcMainItem17: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #20323#37329#27604#20363'(%)'
      Parent = lcMainGroup7
      Control = RzDBNumericEdit1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem12: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup7
      Control = RzDBNumericEdit2
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem27: TdxLayoutItem
      CaptionOptions.Text = #25209#21495
      Parent = lcgBaseInfoLeft
      Control = RzDBEdit1
      ControlOptions.ShowBorder = False
      Index = 5
    end
    object lcMainItem21: TdxLayoutItem
      CaptionOptions.Text = #22791#27880
      Parent = lcgBaseInfoLeft
      Control = cxDBMemo1
      ControlOptions.ShowBorder = False
      Index = 6
    end
    object lcMainItem1: TdxLayoutItem
      CaptionOptions.Text = #21512#21516#21333#21495
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoMiddle
      Control = edtPino
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainGroup2: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoMiddle
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem8: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #19994#21153#21592
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcMainGroup2
      Control = cbxStaff
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainGroup3: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoMiddle
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 2
    end
    object lcMainGroup6: TdxLayoutGroup
      AlignHorz = ahClient
      CaptionOptions.Text = 'Hidden Group'
      Parent = lcMainGroup3
      ButtonOptions.Buttons = <>
      Hidden = True
      ShowBorder = False
      Index = 0
    end
    object lcMainItem35: TdxLayoutItem
      CaptionOptions.Text = #21512#21516#26085#26399
      Parent = lcMainGroup6
      Control = cxDBDateEdit3
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem10: TdxLayoutItem
      AlignHorz = ahClient
      CaptionOptions.Text = #20215#26684#26465#27454
      Parent = lcMainGroup6
      Control = cbxPriceTerm
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem2: TdxLayoutItem
      CaptionOptions.Text = #39033#30446
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcMainGroup6
      Control = edtProject
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem2CaptionClick
      Index = 2
    end
    object lcMainItem5: TdxLayoutItem
      CaptionOptions.Text = #21407#20135#22269
      Parent = lcMainGroup6
      Control = RzDBEdit2
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem4: TdxLayoutItem
      AlignHorz = ahClient
      CaptionOptions.Text = #23458#25143
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoRight
      Control = edtCustomer
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem4CaptionClick
      Index = 0
    end
    object lcMainGroup4: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgBaseInfoRight
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem16: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #24065#21035
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcMainGroup4
      Control = cbxCurrency
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem24: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup4
      Control = cxDBTextEdit18
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem13: TdxLayoutItem
      CaptionOptions.Text = #20132#36135#22320#28857
      Parent = lcgBaseInfoRight
      Control = cxDBTextEdit11
      ControlOptions.ShowBorder = False
      Index = 2
    end
    object lcMainItem40: TdxLayoutItem
      CaptionOptions.Text = #20184#27454#26041#24335
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoRight
      Control = RzDBMemo1
      OnCaptionClick = lcMainItem40CaptionClick
      Index = 3
    end
    object lcMainItem14: TdxLayoutItem
      CaptionOptions.Text = #35746#21333#37329#39069
      Parent = lcgBaseInfoRight
      Control = RzDBNumericEdit3
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcMainItem37: TdxLayoutItem
      CaptionOptions.Text = #21442#32771#32534#21495
      Parent = lcgBaseInfoRight
      Control = RzDBEdit3
      ControlOptions.ShowBorder = False
      Index = 5
    end
    object lcMainItem34: TdxLayoutItem
      CaptionOptions.Text = #25253#20215#21333#21495
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgBaseInfoLast
      Control = edtQuotation
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem34CaptionClick
      Index = 0
    end
    object lcMainItem11: TdxLayoutItem
      CaptionOptions.Text = #35746#21333#31867#22411
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoLast
      Control = cbxPiClass
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem45: TdxLayoutItem
      CaptionOptions.Text = #20132#36135#26085#26399
      Parent = lcgBaseInfoLast
      Control = RzDBMemo2
      Index = 2
    end
    object lcMainItem15: TdxLayoutItem
      CaptionOptions.Text = #36816#36755#26041#24335
      Parent = lcgBaseInfoLast
      Control = cbxCarryMode
      ControlOptions.ShowBorder = False
      Index = 3
    end
    object lcMainItem18: TdxLayoutItem
      CaptionOptions.Text = #35746#21333#25968#37327
      Parent = lcgBaseInfoLast
      Control = RzDBNumericEdit4
      ControlOptions.ShowBorder = False
      Index = 4
    end
    object lcMainItem38: TdxLayoutItem
      CaptionOptions.Text = #23458#25143#21512#21516#21495
      Parent = lcgBaseInfoLast
      Control = RzDBEdit4
      ControlOptions.ShowBorder = False
      Index = 5
    end
    object lcgPrepay: TdxLayoutGroup
      CaptionOptions.Text = #39044#25910#27454
      LayoutLookAndFeel = dmImages.lfBaseInfoGroups
      Parent = lcgRoot
      ButtonOptions.Buttons = <>
      LayoutDirection = ldHorizontal
      Index = 2
    end
    object lcgPrepayLeft: TdxLayoutGroup
      CaptionOptions.Visible = False
      Parent = lcgPrepay
      ButtonOptions.Buttons = <>
      ShowBorder = False
      Index = 0
    end
    object lcMainItem25: TdxLayoutItem
      CaptionOptions.Text = #25910#27454#26085#26399
      Parent = lcgPrepayLeft
      Control = cxDBDateEdit2
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcgpreamt: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      Parent = lcgPrepayLeft
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem9: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #39044#25910#27604#20363'(%)'
      Parent = lcgpreamt
      Control = RzDBNumericEdit5
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem22: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcgpreamt
      Control = RzDBNumericEdit6
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcgPrepayMiddle: TdxLayoutGroup
      CaptionOptions.Visible = False
      Offsets.Left = 20
      Parent = lcgPrepay
      ButtonOptions.Buttons = <>
      ShowBorder = False
      Index = 1
    end
    object lcMainItem29: TdxLayoutItem
      CaptionOptions.Text = #25910#27454#20154#21592
      Parent = lcgPrepayMiddle
      Control = cbxPrepayStaff
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem26: TdxLayoutItem
      CaptionOptions.Text = #25910#27454#26041#24335
      LayoutLookAndFeel = dmImages.lfBaseInfo
      Parent = lcgPrepayMiddle
      Control = cxDBTextEdit20
      ControlOptions.ShowBorder = False
      OnCaptionClick = lcMainItem26CaptionClick
      Index = 1
    end
    object lcgPrepayRight: TdxLayoutGroup
      CaptionOptions.Visible = False
      Offsets.Left = 20
      Parent = lcgPrepay
      ButtonOptions.Buttons = <>
      ShowBorder = False
      Index = 2
    end
    object lcMainItem39: TdxLayoutItem
      CaptionOptions.Text = #38134#34892#36134#21495
      Parent = lcgPrepayRight
      Control = cxDBTextEdit3
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainGroup5: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      CaptionOptions.Visible = False
      Parent = lcgPrepayRight
      ButtonOptions.Buttons = <>
      Hidden = True
      LayoutDirection = ldHorizontal
      ShowBorder = False
      Index = 1
    end
    object lcMainItem30: TdxLayoutItem
      AlignHorz = ahLeft
      CaptionOptions.Text = #25910#27454#38134#34892
      Parent = lcMainGroup5
      Control = cbxPrepaybank
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem31: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup5
      Control = cxDBTextEdit2
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcgPrepayLast: TdxLayoutGroup
      CaptionOptions.Visible = False
      Offsets.Left = 20
      Parent = lcgPrepay
      ButtonOptions.Buttons = <>
      ShowBorder = False
      Index = 3
    end
    object lcMainItem32: TdxLayoutItem
      CaptionOptions.Text = #22791#27880
      Parent = lcgPrepayLast
      Control = cxDBMemo2
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainGroup9: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      Parent = lcgArchive
      ButtonOptions.Buttons = <>
      Hidden = True
      ShowBorder = False
      Index = 1
    end
    object lcMainItem36: TdxLayoutItem
      CaptionOptions.Text = #23457#25209#29366#24577
      Parent = lcMainGroup9
      Control = RzDBLabel4
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem20: TdxLayoutItem
      CaptionOptions.Text = #21333#25454#29366#24577
      Parent = lcMainGroup9
      Control = RzDBLabel2
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainGroup8: TdxLayoutGroup
      CaptionOptions.Text = 'Hidden Group'
      Parent = lcgArchive
      ButtonOptions.Buttons = <>
      Hidden = True
      ShowBorder = False
      Index = 0
    end
    object lcMainItem19: TdxLayoutItem
      CaptionOptions.Text = #23457'  '#25209'  '#20154
      Parent = lcMainGroup8
      Control = RzDBLabel1
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem28: TdxLayoutItem
      CaptionOptions.Text = #23457#25209#26085#26399
      Parent = lcMainGroup8
      Control = RzDBLabel3
      ControlOptions.AutoColor = True
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem23: TdxLayoutItem
      AlignHorz = ahClient
      Parent = lcMainGroup2
      Control = cbxDepartment
      ControlOptions.ShowBorder = False
      Index = 1
    end
  end
  inherited pnlRight: TPanel
    Left = 840
    Height = 688
    ExplicitLeft = 840
    ExplicitHeight = 688
    inherited frameAttachs: TfrmAttachs
      Height = 688
      ExplicitHeight = 688
      inherited lvAttachs: TcxListView
        Height = 662
        ExplicitHeight = 662
      end
      inherited bmAttachs: TdxBarManager
        DockControlHeights = (
          0
          0
          26
          0)
      end
    end
  end
  inherited dxStatusBar1: TdxStatusBar
    Top = 714
    Width = 1040
    ExplicitTop = 714
    ExplicitWidth = 1040
  end
  inherited BarManager: TdxBarManager
    Left = 110
    Top = 324
    DockControlHeights = (
      0
      0
      26
      0)
    inherited BarMain: TdxBar
      ItemLinks = <
        item
          Visible = True
          ItemName = 'bbtnNew'
        end
        item
          Visible = True
          ItemName = 'bbtnEdit'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'bbtnCopy'
        end
        item
          Visible = True
          ItemName = 'bbtnRefresh'
        end
        item
          Visible = True
          ItemName = 'bbtnDelete'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnSave'
        end
        item
          Visible = True
          ItemName = 'bbtnCancel'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnFirst'
        end
        item
          Visible = True
          ItemName = 'bbtnPrev'
        end
        item
          Visible = True
          ItemName = 'bbtnNext'
        end
        item
          UserDefine = [udPaintStyle]
          Visible = True
          ItemName = 'bbtnLast'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnPrint'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnAttach'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnPrepay'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnCheckRequest'
        end
        item
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnCheck'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnStock'
        end
        item
          Visible = True
          ItemName = 'itemOperation'
        end
        item
          BeginGroup = True
          UserDefine = [udPaintStyle]
          UserPaintStyle = psCaptionGlyph
          Visible = True
          ItemName = 'bbtnRemind'
        end>
    end
    object bbtnCheckRequest: TdxBarButton
      Caption = #30003#35831#23457#25209
      Category = 0
      Hint = #30003#35831#23457#25209
      Visible = ivAlways
      ImageIndex = 167
      OnClick = bbtnCheckRequestClick
    end
    object bbtnCheck: TdxBarButton
      Caption = #23457#25209
      Category = 0
      Hint = #23457#25209
      Visible = ivAlways
      ImageIndex = 225
      OnClick = bbtnCheckClick
    end
    object bbtnPrepay: TdxBarButton
      Caption = #39044#25910#27454
      Category = 0
      Hint = #39044#25910#27454
      Visible = ivAlways
      ButtonStyle = bsChecked
      Down = True
      ImageIndex = 252
      OnClick = bbtnPrepayClick
    end
    object bbtnCustomerConfirm: TdxBarButton
      Caption = #23458#25143#30830#35748
      Category = 0
      Hint = #23458#25143#30830#35748
      Visible = ivNever
      ImageIndex = 195
      OnClick = bbtnCustomerConfirmClick
    end
    object bbtnStock: TdxBarButton
      Caption = #29983#25104#37319#36141#21333
      Category = 0
      Hint = #29983#25104#37319#36141#21333
      Visible = ivAlways
      ImageIndex = 168
      OnClick = bbtnStockClick
    end
    object itemOperation: TdxBarSubItem
      Caption = #21333#25454#25805#20316
      Category = 0
      Visible = ivNever
      ImageIndex = 194
      ItemLinks = <
        item
          Visible = True
          ItemName = 'bbtnCustomerConfirm'
        end>
    end
    object bbtnRemind: TdxBarButton
      Caption = #25552#37266
      Category = 0
      Hint = #25552#37266
      Visible = ivAlways
      ImageIndex = 217
      OnClick = bbtnRemindClick
    end
  end
  inherited tblBase: TDAMemDataTable
    Fields = <
      item
        Name = 'dp_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dp_projectid'
        DataType = datGuid
      end
      item
        Name = 'dp_projectno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_qno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_qid'
        DataType = datGuid
      end
      item
        Name = 'dp_no'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_date'
        DataType = datDateTime
      end
      item
        Name = 'dp_oid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dp_oiid'
        DataType = datInteger
      end
      item
        Name = 'dp_osimpname'
        DataType = datString
        Size = 30
        OnValidate = tblBasedp_osimpnameValidate
      end
      item
        Name = 'dp_cid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dp_cno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_csimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_ccontact'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_cfax'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_staffid'
        DataType = datGuid
      end
      item
        Name = 'dp_staffiid'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_department'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_priceterm'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_paymentmode'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_shipway'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_mcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dp_rate'
        DataType = datFloat
      end
      item
        Name = 'dp_amt'
        DataType = datFloat
      end
      item
        Name = 'dp_totalgw'
        DataType = datFloat
      end
      item
        Name = 'dp_totalqty'
        DataType = datFloat
      end
      item
        Name = 'dp_productname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_checkstate'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dp_state'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_color'
        DataType = datInteger
      end
      item
        Name = 'dp_deliarea'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_delidate'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_remark'
        DataType = datString
        Size = 500
      end
      item
        Name = 'dp_stockgen'
        DataType = datBoolean
      end
      item
        Name = 'dp_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_createdate'
        DataType = datDateTime
      end
      item
        Name = 'dp_modifystaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_modifydate'
        DataType = datDateTime
      end
      item
        Name = 'dp_checkstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_checkdate'
        DataType = datDateTime
      end
      item
        Name = 'dp_checkrequeststaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_checkrequestid'
        DataType = datGuid
      end
      item
        Name = 'dp_profit'
        DataType = datFloat
      end
      item
        Name = 'dp_outqty'
        DataType = datFloat
      end
      item
        Name = 'dp_productcountry'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_batchno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_refno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_cpino'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_followstate'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dp_followdate'
        DataType = datDateTime
      end
      item
        Name = 'dp_type'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dp_commisionrate'
        DataType = datFloat
      end
      item
        Name = 'dp_commision'
        DataType = datFloat
      end
      item
        Name = 'dp_sellamtrmb'
        DataType = datFloat
      end
      item
        Name = 'dp_buyamtrmb'
        DataType = datFloat
      end>
    LogicalName = 'd_pi'
    Left = 274
    Top = 276
  end
  inherited dsBase: TDADataSource
    DataSet = tblBase.Dataset
    Left = 340
    Top = 270
  end
  inherited tblDetails: TDAMemDataTable
    Fields = <
      item
        Name = 'dpi_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dpi_serial'
        DataType = datFloat
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dpi_productid'
        DataType = datGuid
      end
      item
        Name = 'dpi_productno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpi_productrealno'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dpi_enname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dpi_chname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dpi_simpname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dpi_desc'
        DataType = datString
        Size = 240
      end
      item
        Name = 'dpi_sellprice'
        DataType = datFloat
        OnValidate = tblDetailsdpi_sellpriceValidate
      end
      item
        Name = 'dpi_buymcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dpi_buyrate'
        DataType = datFloat
      end
      item
        Name = 'dpi_buyprice'
        DataType = datFloat
        OnValidate = tblDetailsdpi_buypriceValidate
      end
      item
        Name = 'dpi_fid'
        DataType = datGuid
      end
      item
        Name = 'dpi_fsimpname'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpi_qty'
        DataType = datFloat
        OnValidate = tblDetailsdpi_qtyValidate
      end
      item
        Name = 'dpi_unit'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dpi_sellamt'
        DataType = datFloat
      end
      item
        Name = 'dpi_sellamtrmb'
        DataType = datFloat
      end
      item
        Name = 'dpi_buyamt'
        DataType = datFloat
      end
      item
        Name = 'dpi_buyamtrmb'
        DataType = datFloat
      end
      item
        Name = 'dpi_profit'
        DataType = datFloat
      end
      item
        Name = 'dpi_profitrate'
        DataType = datFloat
      end
      item
        Name = 'dpi_carriage'
        DataType = datFloat
        OnValidate = tblDetailsdpi_carriageValidate
      end
      item
        Name = 'dpi_tariff'
        DataType = datFloat
        OnValidate = tblDetailsdpi_carriageValidate
      end
      item
        Name = 'dpi_valueaddtax'
        DataType = datFloat
        OnValidate = tblDetailsdpi_carriageValidate
      end
      item
        Name = 'dpi_otherfee'
        DataType = datFloat
        OnValidate = tblDetailsdpi_carriageValidate
      end
      item
        Name = 'dpi_remark'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dpi_outqty'
        DataType = datFloat
      end
      item
        Name = 'dpi_order'
        DataType = datFloat
      end
      item
        Name = 'dpi_hscode'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpi_gw'
        DataType = datFloat
      end
      item
        Name = 'dpi_gwamt'
        DataType = datFloat
      end
      item
        Name = 'dpi_id'
        DataType = datAutoInc
      end>
    MasterMappingMode = mmWhere
    MasterSource = dsBase
    MasterFields = 'dp_id'
    DetailFields = 'dpi_pid'
    LogicalName = 'd_piitem'
    Left = 78
    Top = 220
  end
  inherited dsDetails: TDADataSource
    DataSet = tblDetails.Dataset
    Left = 140
    Top = 220
  end
  inherited cxEditStyleController1: TcxEditStyleController
    PixelsPerInch = 96
  end
  inherited cxStyleRepository2: TcxStyleRepository
    PixelsPerInch = 96
  end
  inherited cxStyleRepository3: TcxStyleRepository
    PixelsPerInch = 96
  end
  object tblPrepay: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'dpp_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dpp_prepaypreamt'
        DataType = datFloat
      end
      item
        Name = 'dpp_prepaypayment'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dpp_prepaydate'
        DataType = datDateTime
      end
      item
        Name = 'dpp_prepaybankaccount'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpp_prepaystaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dpp_prepaystaffid'
        DataType = datGuid
      end
      item
        Name = 'dpp_bid'
        DataType = datGuid
      end
      item
        Name = 'dpp_prepaybankno'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dpp_prepaybank'
        DataType = datString
        Size = 60
      end
      item
        Name = 'dpp_prepayremark'
        DataType = datString
        Size = 200
      end
      item
        Name = 'dpp_accountid'
        DataType = datGuid
      end
      item
        Name = 'dpp_amtrate'
        DataType = datFloat
      end>
    Params = <>
    MasterMappingMode = mmWhere
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = ClientDataModule.RemoteDataAdapter
    BeforeInsert = tblPrepayBeforeInsert
    BeforeEdit = tblPrepayBeforeEdit
    BeforePost = tblPrepayBeforePost
    OnNewRecord = tblPrepayNewRecord
    MasterSource = dsBase
    MasterFields = 'dp_id'
    DetailFields = 'dpp_pid'
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'd_piprepay'
    IndexDefs = <>
    Left = 298
    Top = 432
  end
  object dsPrePay: TDADataSource
    DataSet = tblPrepay.Dataset
    DataTable = tblPrepay
    Left = 330
    Top = 434
  end
  object dsDetails2: TDADataSource
    DataSet = tblDetails2.Dataset
    DataTable = tblDetails2
    Left = 140
    Top = 254
  end
  object tblDetails2: TDAMemDataTable
    RemoteUpdatesOptions = []
    Fields = <
      item
        Name = 'dps_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dps_serial'
        DataType = datInteger
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dps_state'
        DataType = datString
        Size = 4000
      end
      item
        Name = 'dps_billtype'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dps_billid'
        DataType = datGuid
      end
      item
        Name = 'dps_billno'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dps_date'
        DataType = datDateTime
      end
      item
        Name = 'dps_remark'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dps_filename'
        DataType = datString
        Size = 240
      end
      item
        Name = 'dps_fileext'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_staff'
        DataType = datString
        Size = 30
      end>
    Params = <>
    MasterMappingMode = mmWhere
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = ClientDataModule.RemoteDataAdapter
    BeforeInsert = tblDetails2BeforeInsert
    BeforeEdit = tblDetails2BeforeEdit
    AfterPost = tblDetails2AfterPost
    BeforeDelete = tblDetails2BeforeDelete
    OnNewRecord = tblDetails2NewRecord
    MasterSource = dsBase
    MasterFields = 'dp_id'
    DetailFields = 'dps_pid'
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'd_pistate'
    IndexDefs = <>
    Left = 78
    Top = 254
  end
  object tblBrowser: TDAMemDataTable
    RemoteUpdatesOptions = [ruoOnPost]
    Fields = <
      item
        Name = 'dps_pid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dps_serial'
        DataType = datInteger
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dps_filename'
        DataType = datString
        Size = 240
      end
      item
        Name = 'dps_fileext'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dps_file'
        DataType = datBlob
      end>
    Params = <>
    StreamingOptions = [soDisableEventsWhileStreaming]
    RemoteDataAdapter = ClientDataModule.RemoteDataAdapter
    DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
    MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
    LogicalName = 'd_pistate1'
    IndexDefs = <>
    Left = 524
    Top = 280
  end
  object odlgAttachs: TRzOpenDialog
    Left = 560
    Top = 310
  end
  object sdlgAttachs: TRzSaveDialog
    Left = 596
    Top = 310
  end
end
